home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2004 E…tra 100 Bedste Programmer / K-CD_2004_Ekstra_100_Gratis_Programmer.iso / Windows / X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinXP AddRem Soft 1.xpl < prev    next >
Encoding:
XSetup plugin  |  2004-04-29  |  1.7 KB  |  48 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="System\Software Installation\Add or Remove Programs"
  5. "NAME"="Show all installed updates"
  6. "VERSION"="1.02"
  7. "OSVERSION"="0000011"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Show all installed updates by default"
  10. "DESCRIPTION 1"="Beginning with Windows XP Service Pack 2, the "Add or Remove Programs" applet in Control Panel does no longer show installed updates or patches but instead hide them until you turn on the "Show Updates" checkbox inside the applet."
  11. "DESCRIPTION 2"="If you want to always have the updates listed inside Add or Remove Programs, simply activate this option. If this setting is deactivated you need first to select the "Show Updates" checkbox to see the installed updates and patches. "
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.x-setup.com/"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="Win XP SP2 Release Notes: Filtering out updates from the Change or Remove Programs list"
  16. "COMMENT 2"=""
  17.  
  18.  
  19. 'Declaration of some constants
  20. sP="HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall\DontGroupPatches" 'DW
  21.  
  22. 'Called when the Plugin is started
  23. SUB Plugin_Initialize
  24.  s=RegReadValue(sP)
  25.  if s=1 then
  26.   Call SetUIElement(1,true)
  27.  end if
  28. END SUB
  29.  
  30. 'Called when the Plugin should validate the Data the user has entered
  31. SUB Plugin_CheckData(ElementIndex)
  32. END SUB
  33.  
  34. 'Called when the Plugin should apply the changes
  35. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  36.  s=GetUIElement(1)
  37.  if s=true then
  38.     Call RegWriteValue(sP,1,2)
  39.  else
  40.     Call RegWriteValue(sP,0,2)
  41.  end if
  42. END SUB
  43.  
  44. 'Called when the Plugin is about to be removed from memory
  45. SUB Plugin_Terminate
  46. END SUB
  47.  
  48.